import request from "@/utils/request";

// 新增选手动态评价
export function addPlayerTweetsComment(data) {
  return request({
    url: "/playerTweetsComments/add",
    method: "post",
    data: data,
  });
}

// 获取选手动态评价列表
export function listPlayerTweetsComment(query) {
  return request({
    url: "/playerTweetsComments/list",
    method: "get",
    params: query,
  });
}

// 获取选手动态评价详情
export function getPlayerTweetsComment(id) {
  return request({
    url: "/playerTweetsComments/selectOne",
    method: "get",
    params: { id },
  });
}
